<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>表单输入</title>
</head>
<body>

    <form method="post" action="welcome.php">
        <p>名字: <input type="text" name="name"></p>
        <p>年龄: <input type="text" name="age"></p>
        <p><input type="submit" value="提交"></p>
    </form>

</body>
</html>